home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / ypwhich.z / ypwhich
Text File  |  1998-10-20  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. YYYYPPPPWWWWHHHHIIIICCCCHHHH((((1111))))                                                          YYYYPPPPWWWWHHHHIIIICCCCHHHH((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ypwhich - print the NIS server or map master hostname
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      yyyyppppwwwwhhhhiiiicccchhhh [ ----dddd _d_o_m_a_i_n ] [ ----VVVV1111 | ----VVVV2222 ] [ _h_o_s_t_n_a_m_e ]
  13.      yyyyppppwwwwhhhhiiiicccchhhh [ ----tttt ] [ ----dddd _d_o_m_a_i_n ] ----mmmm [ _m_n_a_m_e ]
  14.      yyyyppppwwwwhhhhiiiicccchhhh ----xxxx
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _y_p_w_h_i_c_h tells which network information service (NIS) server supplies NIS
  18.      services to an NIS client, or which server is the master for a map.  If
  19.      invoked without arguments, it prints the NIS server for the local
  20.      machine.  If _h_o_s_t_n_a_m_e is specified, that machine is queried to find out
  21.      which NIS server it is using.
  22.  
  23.      Refer to _y_p_f_i_l_e_s(4) and _n_i_s(1M) for an overview of NIS.
  24.  
  25. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  26.      ----dddd _d_o_m_a_i_n
  27.              Use _d_o_m_a_i_n instead of the default domain.
  28.  
  29.      ----mmmm _m_n_a_m_e
  30.              Find the master NIS server for a map.  No _h_o_s_t_n_a_m_e can be
  31.              specified with ----mmmm.  _m_n_a_m_e can be a mapname, or a nickname for a
  32.              map. If _m_n_a_m_e is not specified, _y_p_w_h_i_c_h lists the names of all
  33.              the maps and their master server.
  34.  
  35.      ----tttt      Inhibit nickname translation.  This option is useful if there is
  36.              a mapname identical to a nickname, which is not true of any
  37.              IRIX-supplied map.
  38.  
  39.      ----xxxx      Display the map nickname table.  This lists the nicknames
  40.              (_m_n_a_m_e_s) the command knows of, and indicates the _m_a_p_n_a_m_e
  41.              associated with each nickname.
  42.  
  43. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  44.      rpcinfo(1M), nis(1M), ypset(1M), ypfiles(4)
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.